package com.lx.bean;

/**
 * @ClassName: Message
 * @Description:
 * @Date Created in  2021-07-05 21:52
 * @Modified By:
 * @Author: 零巽
 */
public class Message {
    private int status;//状态码，0表示成功，-1表示失败
    private String result;//消息内容
    private Object data;//消息携带的数据

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Message(int status, String result) {
        this.status = status;
        this.result = result;
    }

    public Message(String result) {
        this.result = result;
    }

    public Message(int status) {
        this.status = status;
    }

    public Message() {
    }

    public Message(int status, String result, Object data) {
        this.status = status;
        this.result = result;
        this.data = data;
    }
}
